home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C14 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.4 KB  |  125 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C14
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Compose \
  22.     Compose2 \
  23.     Inherit \
  24.     Combined \
  25.     Order \
  26.     Hide \
  27.     Ninherit \
  28.     Car \
  29.     FName1 \
  30.     FName2 \
  31.     InheritStack \
  32.     Privinh \
  33.     Protect \
  34.     Wind \
  35.     Ccright \
  36.     InheritStack2 
  37.  
  38. test: all 
  39.     Compose  
  40.     Compose2  
  41.     Inherit  
  42.     Combined  
  43.     Order  
  44.     Hide  
  45.     Ninherit  
  46.     Car  
  47.     FName1  
  48.     FName2  
  49.     InheritStack  
  50.     Privinh  
  51.     Protect  
  52.     Wind  
  53.     Ccright  
  54.     InheritStack2  
  55.  
  56. bugs: 
  57.     @echo No compiler bugs in this directory!
  58.  
  59. Compose: Compose.o 
  60.     $(CPP) $(OFLAG)Compose Compose.o 
  61.  
  62. Compose2: Compose2.o 
  63.     $(CPP) $(OFLAG)Compose2 Compose2.o 
  64.  
  65. Inherit: Inherit.o 
  66.     $(CPP) $(OFLAG)Inherit Inherit.o 
  67.  
  68. Combined: Combined.o 
  69.     $(CPP) $(OFLAG)Combined Combined.o 
  70.  
  71. Order: Order.o 
  72.     $(CPP) $(OFLAG)Order Order.o 
  73.  
  74. Hide: Hide.o 
  75.     $(CPP) $(OFLAG)Hide Hide.o 
  76.  
  77. Ninherit: Ninherit.o 
  78.     $(CPP) $(OFLAG)Ninherit Ninherit.o 
  79.  
  80. Car: Car.o 
  81.     $(CPP) $(OFLAG)Car Car.o 
  82.  
  83. FName1: FName1.o 
  84.     $(CPP) $(OFLAG)FName1 FName1.o 
  85.  
  86. FName2: FName2.o 
  87.     $(CPP) $(OFLAG)FName2 FName2.o 
  88.  
  89. InheritStack: InheritStack.o ../C13/Stack4.o 
  90.     $(CPP) $(OFLAG)InheritStack InheritStack.o ../C13/Stack4.o 
  91.  
  92. Privinh: Privinh.o 
  93.     $(CPP) $(OFLAG)Privinh Privinh.o 
  94.  
  95. Protect: Protect.o 
  96.     $(CPP) $(OFLAG)Protect Protect.o 
  97.  
  98. Wind: Wind.o 
  99.     $(CPP) $(OFLAG)Wind Wind.o 
  100.  
  101. Ccright: Ccright.o 
  102.     $(CPP) $(OFLAG)Ccright Ccright.o 
  103.  
  104. InheritStack2: InheritStack2.o ../C13/Stack4.o 
  105.     $(CPP) $(OFLAG)InheritStack2 InheritStack2.o ../C13/Stack4.o 
  106.  
  107.  
  108. Compose.o: Compose.cpp Useful.h 
  109. Compose2.o: Compose2.cpp Useful.h 
  110. Inherit.o: Inherit.cpp Useful.h 
  111. Combined.o: Combined.cpp 
  112. Order.o: Order.cpp 
  113. Hide.o: Hide.cpp 
  114. Ninherit.o: Ninherit.cpp 
  115. Car.o: Car.cpp 
  116. FName1.o: FName1.cpp ../require.h 
  117. FName2.o: FName2.cpp ../require.h 
  118. InheritStack.o: InheritStack.cpp ../C13/Stack4.h ../require.h 
  119. Privinh.o: Privinh.cpp 
  120. Protect.o: Protect.cpp 
  121. Wind.o: Wind.cpp 
  122. Ccright.o: Ccright.cpp 
  123. InheritStack2.o: InheritStack2.cpp ../C13/Stack4.h ../require.h 
  124.  
  125.